using System;
using System.Collections.Generic;

namespace OrdersManager.Module.BusinessEntities
{
	public class Order
	{
		private string _address;
		private DateTime _date = DateTime.Now;
		private Guid _id;
		private string _name;
		private ICollection<OrderItem> _orderItems = new List<OrderItem>();
		private string _phone;

		public string Address
		{
			get { return _address; }
			set { _address = value; }
		}

		public DateTime Date
		{
			get { return _date; }
			set { _date = value; }
		}

		public Guid Id
		{
			get { return _id; }
			set { _id = value; }
		}

		public string Name
		{
			get { return _name; }
			set { _name = value; }
		}

		public ICollection<OrderItem> OrderItems
		{
			get { return _orderItems; }
			set { _orderItems = value; }
		}

		public string Phone
		{
			get { return _phone; }
			set { _phone = value; }
		}
	}
}